package com.example.business;

import com.gitee.example.system.Api;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Controller {

    @DubboReference
    private Api api;

    @RequestMapping("/say")
    public String hello() {
        return api.say();
    }
}
